import request from "@/utils/request";

export default {
  /**
   * 会员专区
   *
   */
  // 综合--会员专区
  getIntegrated(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/vip_zone/integrated',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  // 销量--会员专区
  getSellCountDesc(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/vip_zone/sellCountDesc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  //评价--会员专区
  getFavorableValueDesc(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/vip_zone/favorableValueDesc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  //浏览量--会员专区
  getViewCountDesc(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/vip_zone/viewCountDesc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  //价格--会员专区
  getPriceDesc(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/vip_zone/priceDesc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  //发布时间--会员专区
  getOnsellTimeDesc(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/vip_zone/onsellTimeDesc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },

  /**
   * 视频专区
   */
  // 综合--视频专区
  getIntegratedVideo(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/video_course/integrated',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  // 销量--视频专区
  getSellCountDescVideo(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/video_course/sellCountDesc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  //评价--视频专区
  getFavorableValueDescVideo(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/video_course/favorableValueDesc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  //浏览量--视频专区
  getViewCountDescVideo(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/video_course/viewCountDesc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  //价格--视频专区
  getPriceDescVideo(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/video_course/priceDesc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  //发布时间--视频专区
  getOnsellTimeDescVideo(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/video_course/onsellTimeDesc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },

  /**
   * 直播专区
   */
  // 综合--视频专区
  getIntegratedLive(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/video_course/integrated',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  // 销量--视频专区
  getSellCountDescLive(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/live_course/sellCountDesc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  //浏览量--视频专区
  getViewCountDescLive(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/live_course/viewCountDesc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  //价格--视频专区
  getPriceDescLive(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/live_course/priceDesc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  //发布时间--视频专区
  getOnsellTimeDescLive(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/live_course/startTimeAsc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },

  /**
   *  线下专区
   */
  // 综合--视频专区
  getIntegratedOffLine(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/major_course/integrated',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  // 销量--视频专区
  getSellCountDescOffLine(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/major_course/sellCountDesc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  //浏览量--视频专区
  getViewCountDescOffLine(access_token: any, pageSize: any, pageNum: any, data: any)  {
    return request({
      url: '/moment/moments/collect/major_course/viewCountDesc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  //价格--视频专区
  getPriceDescOffLine(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/vip_zone/priceDesc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },
  //发布时间--视频专区
  getOnsellTimeDescOffLine(access_token: any, pageSize: any, pageNum: any, data: any) {
    return request({
      url: '/moment/moments/collect/vip_zone/onsellTimeDesc',
      method: 'post',
      params: {
        access_token,
        pageSize,
        pageNum
      },
      data
    })
  },

}
